package org.tagging.dao.malay;

import org.apache.ibatis.annotations.Param;
import org.tagging.model.TaggingIndonesian;
import org.tagging.model.TaggingMalay;

import java.time.LocalDateTime;
import java.util.List;

public interface MalayMapper {
    List<TaggingMalay> listNotUsingAndUpdated(Integer size);

    void updateSelective(TaggingMalay tagging);

    List<TaggingMalay> listNotUsingAndTranslated(Integer size);

    List<TaggingMalay> listNotUsingAndAbbreviated(Integer size);

    List<TaggingMalay> listNotUsingAndUnknownWorded(Integer size);

    List<TaggingMalay> queryByTimePeriod(@Param("startTime") LocalDateTime startTime,
                                         @Param("endTime") LocalDateTime endTime,
                                         @Param("mode")int mode);
}
